package com.example.votemanage.service.impl;

import com.example.votemanage.entity.VoteItem;
import com.example.votemanage.entity.VoteSubject;
import com.example.votemanage.mapper.VoteItemMapper;
import com.example.votemanage.service.IVoteItemService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author xingcheng
 * @since 2024-06-06
 */
@Service
public class VoteItemServiceImpl extends ServiceImpl<VoteItemMapper, VoteItem> implements IVoteItemService {

    @Override
    public List<VoteItem> selectByVsId(Integer vsId) {
        return baseMapper.selectByVsId(vsId);
    }
    @Override
    public List<VoteItem> selectByVoId(Integer vo_Id) {
        return baseMapper.selectByVoId(vo_Id);
    }
}
